package com.homedo.odin.solution.contract.pc;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(description = "我收藏的方案")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class SolutionCollectListValidRequestBean {

    @ApiModelProperty(value = "用户id", required = true)
    @NotNull(message = "用户id不能为空")
    @Min(message = "用户id非法", value = 0)
    private Integer uid;

    @ApiModelProperty(value = "方案名称", required = false)
    private String solutionName;

    @ApiModelProperty(value = "方案状态", required = false)
    private Integer solutionStatus;

    @ApiModelProperty(value = "创建时间(开始)", required = false)
    private Long startDate;

    @ApiModelProperty(value = "创建时间(结束)", required = false)
    private Long endDate;

    @ApiModelProperty(value = "当前页码", required = true)
    @NotNull(message = "当前页码不能为空")
    @Min(message = "当前页码非法", value = 0)
    private Integer currentPage;

    @ApiModelProperty(value = "每页记录数", required = true)
    @NotNull(message = "每页记录数不能为空")
    @Min(message = "每页记录数非法", value = 0)
    private Integer pageSize;

}
